package cn.iune.backcenter.author;

import java.sql.SQLException;
import java.util.List;

import com.alibaba.fastjson.JSONObject;

public interface ISaOproleDao {
	
	public void insert(SaOprole obj);
	
	public void delete(String sID);
	
	public SaOprole update(SaOprole obj);

	public List<SaOprole> getAll();
	
	public SaOprole getByID(String sID);
	
	public List<SaOprole> getByPersonID(String sPersonID);


	JSONObject query(JSONObject data) throws SQLException;

	JSONObject create(JSONObject data);

}
